package com.shop.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Authror jacky
 * @create 2019-09-20
 */
@FeignClient(name = "shop-pay", fallback = PayClientFallBack.class)
public interface PayClient {
    @RequestMapping("/pay.do")
     String pay(Double amount);
}
